<?php

namespace Admin\Controller;

use Common\Controller\AdminController;

class FeedbackController extends AdminController {

    public function index() {
        $where = array();
        $feedbackModel = new \Admin\Model\FeedbackModel();
        $result = $feedbackModel->getList($where,$param);
        $this->list = $result['list'];
        $this->page = $result['page'];
        if(IS_AJAX){
            $this->ajaxReturn($this->fetch('Feedback/index_ajax'));
        }else{
            $this->display();
        }
    }

}
